This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: ... updated response, 1st effort was flawed ~Naomi Deskroterakol 27.Nov.03 04:41 PM a Web browser Applications Development 6.0.2 CF2Windows 2000
That won't work. As each document is removed, the number of documents in the collection changes, and therefore the later .GetNthDocument call will be moving to the wrong offset.
Besides, NotesDocumentCollection has a .removeAll method, which takes a fraction of the time to execute, and doesn't involve all that tedious looping. You might as well just use that.